package com.designmodel.struct.cglibdynamicproxy;

/**
 * 动态代理测试
 */
public class ProxyTest {

    public static void main(String[] args) {
        DynamicProxy cglib = new DynamicProxy();
        Source bookCglib = (Source) cglib.getInstance(new Source());
        bookCglib.addBook();
    }
}
